package com.tujh.android.designpatterns.Strategy;

/**
 * Created by TUJH on 2016/10/28.
 */
public class Environment {

    private ICalculator mICalculator;

    public Environment(ICalculator ICalculator) {
        mICalculator = ICalculator;
    }

    public int calculate(String exp) {
        return mICalculator.calculate(exp);
    }

}
